package com.wyg.blog.service.blog;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Map;

/**
 * @description:
 * @author: WYG
 * @time: 2020/12/3 15:01
 */

public interface ElasticSearchService {

    ArrayList<Map<String,Object>> getSearchResult(String index, String keyword, Integer from, Integer size) throws IOException;

}
